<template>
  <div class="component-container">
    <el-button type="primary" @click="clickOpen(123123)">点击</el-button>
  </div>
</template>
<script>
export default {
  methods: {
    // log
    log() {
      alert('我调用了父级的方法')
    },
    // 点击事件
    clickOpen(params) {
      this.$openPop('views/componentShow/lib/popWindow', {
        width: '1300px',
        height: '1000px',
        params,
        upData: () => {
          this.log()
        },
        // 回调方法
        closeData: () => {}
      })
    }
  }
}
</script>
<style lang="scss">
@import "./style.scss";
</style>
